﻿@model GameMall_Back.ViewModels.Goods.ViewModelVersions
@{ 
    Layout = null;
}
<div class="modal-dialog">
    <div class="modal-content">
        <form enctype="multipart/form-data" action="/Goods/EditVersion" method="post">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    @if(Model.VersionId == 0)
                    {
                        <span>添加版本</span>
                    }else
                    {
                        <span>修改版本信息</span>
                    }
                </h4>
            </div>
            <div class="modal-body">
                <ul>
                    @Html.Partial("VersionPartialView", Model)
                </ul>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">
                    关闭
                </button>
                <button class="btn btn-primary">
                    提交更改
                </button>
            </div>
        </form>
    </div>
</div>